package com.gaozhaoyang.service;

import com.gaozhaoyang.dao.UserDao;
import com.gaozhaoyang.entity.User;

/*
*       User表中所有业务的处理
* */
public class UserService {
    UserDao dao = new UserDao();
    //登录业务
    public User login(String username,String password){
         return  dao.findUserByUserNameAndPassword(username,password);
    }
}
